package com.sz.mes.entity;

import java.util.Date;
import java.lang.Double;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.sz.mes.entity.BaseCustomEntity;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.diboot.core.util.D;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 库存表 Entity定义
 * @author hem
 * @version 1.0
 * @date 2023-09-14
 * Copyright © szhs
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("zh_cn")
public class ZhCn extends BaseCustomEntity {

    private static final long serialVersionUID = 4320099393111971638L;

    /**
     * 存储地点名称
     */
    @Length(max = 100, message = "存储地点名称长度应小于100")
    @TableField()
    private String location;

    /**
     * 料号
     */
    @Length(max = 100, message = "料号长度应小于100")
    @TableField()
    private String productNum;

    /**
     * 品名
     */
    @Length(max = 100, message = "品名长度应小于100")
    @TableField()
    private String productName;

    /**
     * 规格
     */
    @Length(max = 100, message = "规格长度应小于100")
    @TableField()
    private String productSpecification;

    /**
     * 库存单位名称
     */
    @Length(max = 100, message = "库存单位名称长度应小于100")
    @TableField()
    private String unitName;

    /**
     * 现存量(库存单位)
     */
    @TableField()
    private Integer nowNum;
}
